/*

Summary:
CheckBox class.

Remark:
None.

Version:
0.0.2

LastUpdatedDate:
2012-09-21

*/


#pragma once

#include "ButtonWindow.h"
#include "..\..\Enum.h"

namespace Zaf {
namespace Mwl {


ZafEnum(CheckState, DWORD) {
	Unchecked     = 0,
	Checked       = 1,
	Indeterminate = 2,
};



class CheckBox : public ButtonWindow {

public:
	CheckBox();
	explicit CheckBox(WORD id);
	virtual ~CheckBox();

	CheckState GetCheckState() const;
	void SetCheckState(CheckState value);

	bool IsAutoCheck() const;
	void IsAutoCheck(bool value);

	bool IsThreeState() const;
	void IsThreeState(bool value);

	bool IsPushLike() const;
	void IsPushLike(bool value);

private:
	void CommonConstructor();
};



}
}